<script language="JavaScript">
function prev()
{
	if(document.DA.pn.value>1)
		document.DA.pn.value = parseInt(document.DA.pn.value)-1;
	document.DA.submit();
}

function next()
{
	if(document.DA.pn.value<pageCount)
		document.DA.pn.value = parseInt(document.DA.pn.value) + 1;
	document.DA.submit();
}

function last()
{
	if(document.DA.pn.value<pageCount)
		document.DA.pn.value = pageCount;
	document.DA.submit();
}

function first()
{
	if(document.DA.pn.value>1)
		document.DA.pn.value = 1;
	document.DA.submit();
}

function onSearch()
{
	if(document.DA.pn.value>1)
		document.DA.pn.value = 1;
	document.DA.submit();
}

function changePageSize(obj)
{
	if(obj.value<1 || obj.value!=parseInt(obj.value))
		obj.value = 20;
	document.DA.pagesize.value = obj.value;
}

function changePageNumber(obj)
{
	if(obj.value<1 || obj.value!=parseInt(obj.value))
		obj.value = 1;
	document.DA.pn.value = obj.value;
}
</script>
<table cellspacing="2" border="0" cellpadding="2">
	<form method="POST" action="${url:upload:thumbnail.o}" name="DA">
		<tr>
			<td>${msg:eve:eve.searcher.keyword}</td>
			<td>
				<input name="keyword" style="width:100px;" class="editarea" onclick="this.select();" value="${keyword}">
				<input type="hidden" name="pn" value="${pageNumber}" size="4">
				<input type="hidden" name="pagesize" value="${pageSize}" size="4">
				<input type="hidden" name="callback" value="${@callback}">
			</td>
			<td><img src="${icon:eve:01}" title="${msg:eve:eve.searcher.go}" style="cursor:pointer" class="icon16" onclick="onSearch()"></td>
		</tr>
	</form>
</table>